package com.weizai.carshop.common.exception;

import com.weizai.carshop.common.enumeration.AppHttpCodeEnum;

public class BaseException extends RuntimeException{

    private AppHttpCodeEnum appHttpCodeEnum;

    public BaseException(AppHttpCodeEnum appHttpCodeEnum) {
        this.appHttpCodeEnum = appHttpCodeEnum;
    }

    public AppHttpCodeEnum getAppHttpCodeEnum() {
        return appHttpCodeEnum;
    }
}
